home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / clib / alib_stdio_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  890 b   |  40 lines

  1. #ifndef  CLIB_ALIB_STDIO_PROTOS_H
  2. #define  CLIB_ALIB_STDIO_PROTOS_H
  3.  
  4. /*
  5. **    $VER: alib_stdio_protos.h 40.1 (20.7.1996)
  6. **    Includes Release 44.1
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    Copyright © 1999 Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif /* __cplusplus */
  17.  
  18. #ifndef  EXEC_TYPES_H
  19. #include <exec/types.h>
  20. #endif
  21.  
  22. /* stdio functions that duplicate those in a typical C library */
  23.  
  24. LONG printf( CONST STRPTR fmt, ... );
  25. LONG sprintf( CONST STRPTR buffer, CONST STRPTR fmt, ... );
  26. LONG fclose( LONG stream );
  27. LONG fgetc( LONG stream );
  28. LONG fprintf( LONG stream, CONST STRPTR fmt, ... );
  29. LONG fputc( LONG c, LONG stream );
  30. LONG fputs( CONST STRPTR s, LONG stream );
  31. LONG getchar( VOID );
  32. LONG putchar( ULONG c );
  33. LONG puts( CONST STRPTR s );
  34.  
  35. #ifdef __cplusplus
  36. }
  37. #endif /* __cplusplus */
  38.  
  39. #endif   /* CLIB_ALIB_STDIO_PROTOS_H */
  40.